package com.weixin.base.dao;

import java.util.List;
import java.util.Map;

import cn.org.rapid_framework.page.Page;
import cn.org.rapid_framework.page.PageRequest;

import com.weixin.entity.BgRight;

public interface RoleDao {
	public void save(BgRight bgright);
	public Page findByPageRequest(PageRequest<Map> pageRequest);
	public void update(BgRight bgright);
	public void delById(int sId);
	public Map<String,Object> selRolePermiss(int nRoleId);
	public void upDelRolePermiss(int nRoleId,String nNavTrees);
	public List<Map<String,Object>> selectRoleMPermiss(int nRoleId);
	public void updateRoleMPermiss(int nRoleId,String permissRws);
}
